#include "floatingwindow.h"
#include "ui_floatingwindow.h"

FloatingWindow::FloatingWindow(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::FloatingWindow)
{
    ui->setupUi(this);
    setAttribute(Qt::WA_QuitOnClose, false);
    setWindowFlags(Qt::Window | Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint);
}

FloatingWindow::~FloatingWindow()
{
    delete ui;
}
